﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BUGCOME.Model.Common.dto
{
    public class DictDataQueryDto : PagerInfo
    {
        public string dType { get; set; }
        public string? DictLabel { get; set; }
        public string? Status { get; set; }
    }
    /// <summary>
    /// 字典数据参数DTO
    /// </summary>
    public class DictDataParamDto
    {
        /// <summary>
        /// 字典类型
        /// </summary>
        public string DictType { get; set; }

        ///// <summary>
        ///// 列名
        ///// </summary>
        //public string ColumnName { get; set; }

        /// <summary>
        /// 字典数据列表
        /// </summary>
        public List<DictData> List { get; set; }
    }

    /// <summary>
    /// 系统字典数据DTO
    /// </summary>
    public class DictDataDto
    {
        public long? Id { get; set; } = 0;
        /// <summary>
        /// 字典标签
        /// </summary>
        public string DictLabel { get; set; }

        /// <summary>
        /// 字典值
        /// </summary>
        public string DictValue { get; set; }


        public int DictSort { get; set; }

        /// <summary>
        /// 字典类型
        /// </summary>
        public string DictType { get; set; }

        /// <summary>
        /// CSS样式类
        /// </summary>
        public string CssClass { get; set; } = string.Empty;

        /// <summary>
        /// 列表样式类
        /// </summary>
        public string ListClass { get; set; } = string.Empty;

        /// <summary>
        /// 多语言翻译键
        /// </summary>
        public string LangKey { get; set; } = string.Empty;

        /// <summary>
        /// 扩展字段1
        /// </summary>
        public string? Extend1 { get; set; }

        /// <summary>
        /// 扩展字段2
        /// </summary>
        public string? Extend2 { get; set; }

        /// <summary>
        /// 状态（0正常 1停用）
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }

        #region uniapp返回字段
        /// <summary>
        /// uniapp用标签
        /// </summary>
        public string? Label { get; set; }

        /// <summary>
        /// uniapp用值
        /// </summary>
        public string? Value { get; set; }
        #endregion
    }
}
